<template>
  <NewList :news="bookmarkNews" />
</template>

<script setup>
import { onMounted, ref } from "vue";
import NewList from "@/features/NewList.vue";

import { getLocalStorage } from "@/utils/storageHelper";

const bookmarkNews = ref([]);

onMounted(() => {
  bookmarkNews.value = getLocalStorage("bookmark");
});
</script>
